﻿using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using PropertyManagment.config;
using PropertyManagment.entity;
using PropertyManagment.service.impl;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace PropertyManagment.mapper {
    public interface SysUserMapper : BaseMapper<SysUser>{
        List<SysUser> getByRoleId(long roleId);

        List<SysUser> getByMenuId(long menuId);

        SysUser getByUsernameAndPassword(string username, string password);
    }
}
